package com.htpay.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.htpay.model.entity.MerchantWalletInfo;
import org.apache.ibatis.annotations.Param;

/**
 * 商户余额钱包
 */
public interface MerchantWalletMapper extends BaseMapper<MerchantWalletInfo> {
    /**
     * 根据商户ID获取余额信息
     *
     * @param merchantId
     * @return
     */
    public MerchantWalletInfo getWalletInfoByMerchantId(@Param("merchantId") Integer merchantId);
}
